package edu.gatech.stolen.tea;

public enum editUserEnum {
	
	PASSWORD() {
		@Override
		public void edit(String username, String data) {
			UserManager.getUsers().get(username).setPassword(data);
		}
	},
	FIRSTNAME() {
		@Override
		public void edit(String username, String data) {
			UserManager.getUsers().get(username).setFirstName(data);
		}
	},
	LASTNAME() {
		@Override
		public void edit(String username, String data) {
			UserManager.getUsers().get(username).setLastName(data);
		}
	},
	EMAIL() {
		@Override
		public void edit(String username, String data) {
			UserManager.getUsers().get(username).setMail(data);
		}
	};
	
	public abstract void edit(String username, String data);
	
}
